import request from "@/utils/request";
import { getItem } from "@/utils/storage";
//续约token
export const getNewTokenApi = () =>
  request({
    url: "/v1_0/authorizations",
    method: "PUT",
    headers: {
      Authorization: `Bearer ${getItem("REFRSH_TOKEN")}`,
    },
  });
